package com.jijidom.product.utils;

import com.jijidom.product.VO.ResultVO;

/**
 * @ClassName
 * @Description TODO
 * @Author JinTao
 * @Date 2018/9/10 17:25
 * @Version 1.0
 **/
public class ResultVOUtil {
    public static ResultVO<Object> success(Object object){
        ResultVO<Object> resultVO = new ResultVO<Object>();
        resultVO.setData(object);
        resultVO.setCode(0);
        resultVO.setMsg("成功");
        return resultVO;
    }
}
